Skip to content

Commit 2308ba1

Browse files
committed
asd
Signed-off-by: Sebastien Binet <[email protected]>
1 parent 3a84c0e commit 2308ba1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/os/testdata/test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
print("os.getcwdb() != None [OK]")
3434

3535
print("os.system('echo hello')...")
36-
if os.name != "windows":
36+
if os.name != "nt":
3737
os.system('echo hello')
3838
else: ## FIXME(sbinet): find a way to test this nicely
3939
print("hello\n")
@@ -45,7 +45,7 @@
4545

4646
orig = os.getcwd()
4747
testdir = "/"
48-
if os.name == "windows":
48+
if os.name == "nt":
4949
testdir = "C:\\"
5050
os.chdir(testdir)
5151
if os.getcwd() != testdir:

0 commit comments

Comments
 (0)