Skip to content

Commit

Permalink
Py3k fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
coleifer committed Jan 7, 2016
1 parent 9e9e0bd commit d3d2145
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions playhouse/tests/models.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
import datetime
import sys

from peewee import *
from playhouse.tests.base import TestModel


if sys.version_info[0] == 3:
long = int


class User(TestModel):
username = CharField()

Expand Down

0 comments on commit d3d2145

Please sign in to comment.