Commit b23ddd02 authored by Robert Bradshaw's avatar Robert Bradshaw

Merge pull request #271 from cgohlke/patch-1

TST: Fix detection of Windows platform
parents 8d4d615c b72407ee
...@@ -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