• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

QuantEcon / QuantEcon.py / 12220170269

08 Dec 2024 08:16AM UTC coverage: 93.117% (+0.001%) from 93.116%
12220170269

Pull #749

github

web-flow
Merge 7ff0896ca into b733469ca
Pull Request #749: Add __repr__ for PolymatrixGame

2 of 2 new or added lines in 1 file covered. (100.0%)

7806 of 8383 relevant lines covered (93.12%)

2.73 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/quantecon/ce_util.py
1
# This file is not meant for public use and will be removed v0.8.0.
2
# Use the `quantecon` namespace for importing the objects
3
# included below.
4

5
import warnings
×
6
from . import _ce_util
×
7

8

9
__all__ = ['ckron', 'gridmake']
×
10

11

12
def __dir__():
×
13
    return __all__
×
14

15

16
def __getattr__(name):
×
17
    if name not in __all__:
×
18
        raise AttributeError(
×
19
                "`quantecon.ce_util` is deprecated and has no attribute "
20
                f"'{name}'."
21
            )
22

23
    warnings.warn(f"Please use `{name}` from the `quantecon` namespace, "
×
24
                  "the `quantecon.ce_util` namespace is deprecated. You can "
25
                  "use the following instead:\n "
26
                  f"`from quantecon import {name}`.",
27
                  category=DeprecationWarning, stacklevel=2)
28

29
    return getattr(_ce_util, name)
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc