Commit b72407ee authored by cgohlke's avatar cgohlke

TST: Fix detection of Windows platform

parent 1dd5e2ef
...@@ -61,11 +61,10 @@ import a, b, c ...@@ -61,11 +61,10 @@ import a, b, c
######## fake_grep.py ######## ######## fake_grep.py ########
import platform
import re import re
import sys import sys
if platform == 'Windows': if sys.platform == 'win32':
opt, pattern, file = sys.argv[1:] opt, pattern, file = sys.argv[1:]
assert opt == '-c' assert opt == '-c'
count = 0 count = 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment