Skip to content

Commit 5dffaea

Browse files
committed
fixup(ef92406), impr(util): better nim-py polyglot meth [skip ci]
1 parent 483e51a commit 5dffaea

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

Modules/unicodedata/tempfile.nim

Lines changed: 0 additions & 5 deletions
This file was deleted.

Modules/unicodedata/test_decimalAndSpace.nim

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!/usr/bin/env python3
22
## this file is also runnable via Python
3-
## and it should be run via python for one time when it's time to test to update,
4-
## but remember once run via Nim, `./tempfile.nim` is needed
5-
import tempfile
3+
## and it should be run via python for one time when it's time to test to update
64

7-
not """\"""
5+
"""\""".`!=`("").assert
86
import ./rune_decl
97
import ./[decimal, space]
108
import ./private/consts
@@ -22,7 +20,7 @@ when true:
2220
digits: array[10, IntSeq]
2321
c: Rune
2422
d: int
25-
not """"_"""
23+
discard "" != """"_"""
2624

2725
#[
2826
from sys import maxunicode

0 commit comments

Comments
 (0)