Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Removed debugging code added in last commit.

  • Loading branch information...
commit d4648a34467bb2e90af4038e3424077afa63ceba 1 parent 7213038
Ramiro Morales authored June 01, 2012

Showing 1 changed file with 0 additions and 3 deletions. Show diff stats Hide diff stats

  1. 3  tests/regressiontests/inspectdb/tests.py
3  tests/regressiontests/inspectdb/tests.py
@@ -28,9 +28,6 @@ def test_attribute_name_not_python_keyword(self):
28 28
         call_command('inspectdb',
29 29
                      table_name_filter=lambda tn:tn.startswith('inspectdb_'),
30 30
                      stdout=out)
31  
-        f = open('/home/ramiro/models2.py', 'w')
32  
-        f.write(out.getvalue())
33  
-        f.close()
34 31
         error_message = "inspectdb generated an attribute name which is a python keyword"
35 32
         self.assertNotIn("from = models.ForeignKey(InspectdbPeople)", out.getvalue(), msg=error_message)
36 33
         # As InspectdbPeople model is defined after InspectdbMessage, it should be quoted

0 notes on commit d4648a3

Please sign in to comment.
Something went wrong with that request. Please try again.