Skip to content

Commit

Permalink
fix cProfile has no attr "run" caused by profile.py file
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgryan committed Mar 2, 2020
1 parent 643b400 commit 10f803b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion forest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
.. automodule:: forest.presets
"""
__version__ = '0.12.5'
__version__ = '0.12.6'

from .config import *
from . import (
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion forest/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
import numpy as np
import os
import glob
from forest import _profile as profile
from forest import (
satellite,
screen,
tools,
profile,
series,
data,
load,
Expand Down
3 changes: 2 additions & 1 deletion test/test_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
import numpy.testing as npt
import datetime as dt
import bokeh.plotting
from forest import screen, profile, redux, rx, config
from forest import screen, redux, rx, config
from forest import _profile as profile


@pytest.mark.parametrize("state,expect", [
Expand Down

0 comments on commit 10f803b

Please sign in to comment.