Skip to content

Instantly share code, notes, and snippets.

@raimusyndrome
Last active August 29, 2015 14:22
Show Gist options
  • Save raimusyndrome/f0ddb0e19fc8cf42dd29 to your computer and use it in GitHub Desktop.
Save raimusyndrome/f0ddb0e19fc8cf42dd29 to your computer and use it in GitHub Desktop.
Pythonのテストコードのテンプレート
#!
# -*- coding: utf-8 -*-
import unittest
import numpy as np
import numpy.testing as npt
import pandas as pd
import pandas.util.testing as pdt
class TestSample(unittest.TestCase):
def setUp(self):
return
def tearDown(self):
retrun
def test_sample(self):
return
if __name__ == "__main__":
unittest.main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment