def test_simple_uri_comparision(uri):
	u1 = URI(b'http://abc.com:80/~smith/home.html')
	u2 = URI(b'http://ABC.com/%7Esmith/home.html')
	u3 = URI(b'http://ABC.com:/%7esmith/home.html')
	u4 = URI(b'http://ABC.com:/%7esmith/./home.html')
	u5 = URI(b'http://ABC.com:/%7esmith/foo/../home.html')
	assert u1 == u2
	assert u2 == u3
	assert u1 == u3
	assert u1 == u4
	assert u1 == u5