MCPcopy Create free account
hub / github.com/datacamp/pythonwhat / test_check_keys_exotic

Function test_check_keys_exotic

tests/test_check_object.py:166–179  ·  view source on GitHub ↗
(sct)

Source from the content-addressed store, hash-verified

164 ],
165)
166def test_check_keys_exotic(sct):
167 code = "pivot = users.pivot(index='weekday', columns='city')"
168 output = helper.run(
169 {
170 "DC_PEC": """
171import pandas as pd
172users = pd.read_csv('https://s3.amazonaws.com/assets.datacamp.com/production/course_1650/datasets/users.csv')
173""",
174 "DC_SOLUTION": code,
175 "DC_CODE": code,
176 "DC_SCT": sct,
177 }
178 )
179 assert output["correct"]
180
181
182def test_non_dillable():

Callers

nothing calls this directly

Calls 1

runMethod · 0.80

Tested by

no test coverage detected