Skip to content

Commit 61239ba

Browse files
style: minor cleanup (#642)
* style: minor cleanup * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent d838bbf commit 61239ba

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

tests/test_histogram.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,18 @@
11
import functools
22
import operator
3+
import pickle
34
import sys
5+
from collections import OrderedDict
46
from io import BytesIO
57

8+
import env
69
import numpy as np
710
import pytest
811
from numpy.testing import assert_array_equal
912
from pytest import approx
1013

1114
import boost_histogram as bh
1215

13-
try:
14-
import cPickle as pickle
15-
except ImportError:
16-
import pickle
17-
18-
from collections import OrderedDict
19-
20-
import env
21-
2216

2317
def test_init():
2418
bh.Histogram()

0 commit comments

Comments
 (0)