Skip to content

Commit

Permalink
Skip bulk-update UUID test on py27.
Browse files Browse the repository at this point in the history
Seems to be causing segfaults on travis-ci (?)
  • Loading branch information
coleifer committed Apr 21, 2020
1 parent 114e66e commit 6a58f85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/regressions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import datetime
import json
import sys
import uuid

from peewee import *
Expand Down Expand Up @@ -1227,6 +1228,7 @@ class UUIDReg(TestModel):
class TestBulkUpdateUUIDPK(ModelTestCase):
requires = [UUIDReg]

@skip_if(sys.version_info[0] == 2)
def test_bulk_update_uuid_pk(self):
r1 = UUIDReg.create(key='k1')
r2 = UUIDReg.create(key='k2')
Expand Down

0 comments on commit 6a58f85

Please sign in to comment.