schodge/pep8radius — pull request #1 by schodge (2014-05-20 18:48:50+00:00)
Title: Partial fix for windows test fails

Doesn't fix everything, but at least it gets the paths to match in terms of \\ and /, so a step in the right direction.

======================================================================
FAIL: test_one_line (test_pep8radius.TestRadiusGit)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\Users\HodgeS\Desktop\pep8radius-master\tests\test_pep8radius.py", line 230, in test_one_line
self.check(original, modified, expected, 'test_one_line')
File "c:\Users\HodgeS\Desktop\pep8radius-master\tests\test_pep8radius.py", line 195, in check
self.assertEqual(exp_diff, out.getvalue()[:-1])
AssertionError: '--- c:/Users/HodgeS/Desktop/pep8radius-master/tests/temp\\temp.py/original\n+++ c:/Users/HodgeS/Desktop/pep8radius-master/tests/temp\\temp.py/fixed\n@@ -4,7 +4,9 @@\n return a + b\n \n foo = 1; bar = 2; print(foo * bar)\n-a=1; b=42; c=3\n+a = 1\n+b = 42\n+c = 3\n d=7\n \n def f(x = 1, y = 2):\n' != u'--- c:/Users/HodgeS/Desktop/pep8radius-master/tests/temp\\temp.py/original\n+++ c:/Users/HodgeS/Desktop/pep8radius-master/tests/temp\\temp.py/fixed\n@@ -4,7 +4,8 @@\n return a + b\n \n foo = 1; bar
= 2; print(foo * bar)\n-a=1; b=42; c=3\n+a = 1\n+b=42; c=3\n d=7\n \n def f(x = 1, y = 2):\n'