filename stringlengths 4 198 | content stringlengths 25 939k | environment list | variablearg list | constarg list | variableargjson stringclasses 1
value | constargjson stringlengths 2 3.9k | lang stringclasses 3
values | constargcount float64 0 129 ⌀ | variableargcount float64 0 0 ⌀ | sentence stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|
tests/test.py | import os
import sys
import pytest
import matplotlib.pyplot as plt
import numpy as np
os.environ["RUNNING_PYTEST"] = "true"
import mplhep as hep # noqa
"""
To test run:
py.test --mpl
When adding new tests, run:
py.test --mpl-generate-path=tests/baseline
"""
plt.switch_backend("Agg")
@pytest.mark.mpl_image_compar... | [] | [] | [
"RUNNING_PYTEST"
] | [] | ["RUNNING_PYTEST"] | python | 1 | 0 | |
to_do_list/to_do_list/asgi.py | """
ASGI config for to_do_list project.
It exposes the ASGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SE... | [] | [] | [] | [] | [] | python | 0 | 0 | |
tests/base/test_multitenancy.py | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import os
import tempfile
import pytest
from treq.testing import StubTreq
from rasa_nlu import config
from rasa_nlu.config import RasaNLUModelCo... | [] | [] | [
"TRAVIS_BUILD_DIR"
] | [] | ["TRAVIS_BUILD_DIR"] | python | 1 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.