8000 fix pickle import · smakinson/github3.py@0674cb6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0674cb6

Browse files
committed
fix pickle import
1 parent 5da9970 commit 0674cb6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/unit/test_github_session.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
import cPickle as pickle
1+
try:
2+
import cPickle as pickle
3+
except ImportError:
4+
import pickle
5+
26
import pytest
37

48
import requests

0 commit comments

Comments
 (0)
0