We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b3e8d7 commit 55b1e15Copy full SHA for 55b1e15
os/os.test.py
@@ -208,6 +208,16 @@ def _fail(test_name):
208
_fail("os.devnull corresponding with os.name")
209
failed+=1
210
211
+if os.altsep == None and os.name == "posix":
212
+ _pass('os.altsep == None and os.name == "posix"')
213
+ passed_tests+=1
214
+elif os.altsep == "/" and os.name == "nt":
215
+ _pass('os.altsep == "/" and os.name == "nt"')
216
217
+else:
218
+ _fail("os.altsep corresponding with os.name")
219
+ failed+=1
220
+
221
print()
222
print(bcolors.ENDC+bcolors.BOLD+bcolors.HEADER+"Please check if $HOME will be outputted...")
223
print(bcolors.ENDC)
0 commit comments